import request from '@/config/request.js';

// 查询
export const listFruitsSalesInfo = (params) => request.get('/fruits/fruitsSalesInfo/list', params)

// 查询
export const listFruitsSalesInfoAll = (params) => request.get('/fruits/fruitsSalesInfo/listAll', params)
// 查询
export const getFruitsSalesInfo = (id) => request.get('/fruits/fruitsSalesInfo/' + id)

// 新增
export const addFruitsSalesInfo = (params) => request.post('/fruits/fruitsSalesInfo', params)

// 修改
export const updateFruitsSalesInfo = (params) => request.put('/fruits/fruitsSalesInfo', params)

// 删除
export const delFruitsSalesInfo = (id) => request.delete('/fruits/fruitsSalesInfo/' + id)